All Questions
Tagged with programming-logiclogic
4 questions
4votes
2answers
7kviews
Understanding LSB and MSB
In reference to one interface control document, I found difficulty in understanding this concept. There is one parameter having LSB of 0.0625 and MSB of 2048 that should be transmitted from one piece ...
1vote
3answers
316views
For which built-in C++ type is the law of excluded middle violated?
Apparently, for some built-in type of C++, the following does not hold: a==b || a!=b Which type/value is it? The question is originally from this video: https://www.youtube.com/watch?v=etZgaSjzqlU&...
-4votes
2answers
2kviews
How can I Identify which condition satisfied the if statement? [closed]
Suppose, I am using a if statement as such: if(A || B || C || D) { echo "Hurrah! if is satisfied!"; echo "But! How can I know which was true of the 4 (A,B,C,D)"; } Is there any way I can know ...
0votes
1answer
767views
Creating algorithms [closed]
I am a relatively new programmer. I can pick up languages and learn syntax at a speed that I consider good, but I can't figure out how to solve problems logically using algorithms very well. I know ...